package com.allianz.webapps.secondController;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;

import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import net.sf.json.JSONObject;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.util.Assert;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import sun.misc.BASE64Decoder;

import com.allianz.frame.utils.ApplicationContextUtil;
import com.allianz.frame.utils.ImageUploadUtil;
import com.allianz.frame.utils.PropertiesUtil;
import com.allianz.frame.utils.StringUtil;
import com.allianz.webapps.https.interfaces.type001.CoverInit;
import com.allianz.webapps.https.interfaces.type001.pojo.User;
import com.allianz.webapps.https.interfaces.util.HttpsUtil;
import com.allianz.webapps.https.interfaces.util.ObjectUtil;
import com.allianz.webapps.orderspojo.AppBase;
import com.allianz.webapps.orderspojo.CP;
import com.allianz.webapps.orderspojo.ManagerSearch;
import com.allianz.webapps.quopojo.QuoCreateModel;
import com.allianz.webapps.vo.UploadVo;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
@Controller
@RequestMapping(value="NoteConfirm")
public class NoteConfirmController {
	@Autowired
	private ObjectMapper objectMapper;
	@Autowired
	private ObjectUtil objectUtil;
	
	@RequestMapping(value="index")
	public String index(HttpServletRequest request,HttpServletResponse response){
		return "views/page/noteConfirm";
	}
	/*  投保单号  加密txt文件  pdf地址和类型     base64的图片集合
	 *  1 要合成pdf  2 要上传photo
	 * 
	 * 
	 */
	@RequestMapping(value="createCaPdf")
	@ResponseBody
	public String createCaPdf(HttpServletRequest request,HttpServletResponse response) throws IOException{
		
		return "N";
	}
	
}